/**
 * Created by thinkl on 2017/6/22.
 */
$(function () {
    var app_data = {
        order_list : []
    };
    var app = new Vue({
        el: '#order_list',
        data: app_data,
        methods:{
            go_order_detail:function (order_id) {
                location.href='/static/order_detail/order_detail.html?order_id='+order_id
            }
        }
    });
    $.post('/order/query_order',{},function (data) {
        var res = JSON.parse(data);
        app_data.order_list = res.result
    });
});